//
//  ChooseVCView.h
//  VmiSJ
//
//  Created by 汪的一声就哭了！ on 2016/12/28.
//  Copyright © 2016年 汪的一声就哭了！. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ChooseVCViewDelegate <NSObject>
- (UIViewController *)chooseVCViewForSelectedAt:(NSInteger)atIndex;
- (void)chooseVCViewDidChoose:(NSInteger)index and:(UIViewController *)SelViewC;
@end

@interface ChooseVCView : UIView
//头视图，可以设置样式
@property (nonatomic, strong) UIScrollView *headView;
@property (nonatomic, strong) UIImageView *imageView;

@property (nonatomic, assign) NSInteger chooseInt;
@property (nonatomic, assign) id<ChooseVCViewDelegate> delegate;

//初始化方法
- (instancetype)initWithFrame:(CGRect)frame btnArray:(NSArray<NSString *> *)btnArray font:(UIFont *)font textColor:(UIColor *)textColor selectedImg:(UIImage *)selectedImg aSelectedColor:(UIColor *)aSelectedColor titleRect:(CGRect)titleRect titleHeight:(CGFloat)titleHeight;
@end
